package com.biomatch.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.biomatch.domain.ContainerLock;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

@Mapper
public interface ContainerLockMapper extends BaseMapper<ContainerLock> {



    void deleteLockAndRuleAndGroup (String containerLockId);

    int findCountByMap(Map<String, Object> params);

    List<ContainerLock> getcontainerLockByPage(Map<String, Object> params);


    void updateLockAndGroupAndRule(String containerLockId, String groupId, String ruleId, String superId);

    void insertLockAndGroupAndRule(String containerLockId, String groupId, String ruleId, String superId);
}
